package com.zjs.jianzhioffer;

public class Solution {
    public boolean Find(int target, int [][] array) {
        for (int i = 0; i <array.length; i++) {
            for (int j = 0; j < array[i].length; j++) {
                if (target == array[i][j]) {
                    System.out.println("包涵目标整数");
                    return true;
                }
            }
        }
        System.out.println("不包涵目标整数");
        return false;
    }

    public static void main(String[] args) {
        int [][] array = new int[50][40];
        new Solution().Find(1, array);
    }
}
